package com.software.demo1.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "hourly_employee")
public class HourlyEmployee extends Employee {
    @Column(name = "rate")
    private double rate;
}
